package com.baizhi.service;

import com.baizhi.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {

    public List<Book> selectAllBookByPages(String key,String content);

    public void addBook(Book book);

    public Book selectBookById(String bookId);

    public void updateBook(Book book);

    public void deleteBookById(String bookId);




    public List<Book> selectByRecommend();
    public List<Book> selectByHotSale();
    public List<Book> selectByNewBook();
    public List<Book> selectByNewBookHotSale();

    public List<Book> selectBookByCategoryId(String firstId,String secondId);
}
